package com.gccloud.design.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 根据当前登录用户 查询我的业务场景
 *
 * @author guo.wang
 */
@Data
@Accessors(chain = true)
@ApiModel("配置用户与角色场景展示权限接收的dto")
public class SearchMyBusiness implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    @JsonSerialize(using = ToStringSerializer.class)
    private String userId;

    /**
     * 用户编码
     */
    @ApiModelProperty("用户编码")
    private String empCode;

    /**
     * 登录账号
     */
    @ApiModelProperty("登录账号")
    private String userName;

    /**
     * 真实姓名
     */
    @ApiModelProperty("真实姓名")
    private String realName;

    /**
     * 业务场景名称
     */
    @ApiModelProperty("业务场景名称")
    private String catalogName;

    /**
     * 表单id
     */
    @ApiModelProperty("表单id")
    private String formId;

    private String[] ids;

}
